package com.zmx.mq.task.common.receiver;

import org.springframework.messaging.handler.annotation.Payload;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * @Description: 监听消费者消息队列父类
 * @ClassName: ReceiverListener
 * @Author zhaomxr
 * @Date 2021-11-12 16:19
 */
public interface ReceiverListener {

    public void onMessage(@Payload Map<String, String> data);

}
